	<?php	$users=get_user_by_username($_GET['user']);	?>
    <style>
    .user-metadata{ float:left; margin-right:10px; font-size:14px; font-weight:lighter}
	.blog-title-user-info .status .fa{ font-size:12px; color:#666}
	.blog-title-user-info .status {
color:#0079be; font-size:17px; font-weight:lighter
}
.blog-title-user-info .level{ color:#F60}
    </style>
<div class="container detail-info" id="theload-wrapper">
	<div id="row">
	 <h1><?php echo show_username($users['username'],$users['name']);?></h1>	
		    <div class="col-md-12 box" style="background-color:#fff"> 
           

 
        <div class="col-md-12 user-details">
         			<div class="row">
                    <div class="user-pad col-md-6">
                    <div class="blog-detail-user-title" >

					<a class="blog-title-avatar" href="#"><img src="<?php echo $users['avatar'];?>" alt=""> </a>
					<div class="blog-title-user-info">
						
                        <p class="status">	<i class="fa fa-quote-left"></i> <em> <?php if($users['slogan']!=''){ echo $users['slogan'];}else{ echo "No Status";} ?> </em><i class="fa fa-quote-right"></i></p>
						<p>
							 <small><em>Ngày tham gia:</em></small>          &nbsp; &nbsp;  &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <em><?php echo $users['date_registered']." - ".time_ago($users['date_registered']);?></em><Br/>
                             <small>  <em>Đăng Nhập Lần Cuối :</em></small>    &nbsp; &nbsp;  &nbsp; &nbsp; <em> <?php echo $users['date_login']." - ".time_ago($users['date_login']);?></em>
						</p>
                        <p class="level"><?php echo get_user_group_name($users['group_id']); ?></p>
					</div> <!-- End blog-title-user-info -->

					<div class="clr"></div>
				</div> <!-- End blog-detail-user-title -->
				<div class="clr"></div>
                     
                     
                      <?php if($users['facebook_url']!=''){?> <p class="user-metadata"><a href="<?php echo $users['facebook_url']; ?>" target="_blank"><i class="fa fa-facebook-square fa-2x"></i> Facebook</a></p><?php }?>
                      
                     <?php if($users['facebook_url']!=''){?> <p class="user-metadata"><a href="<?php echo $users['facebook_url']; ?>" target="_blank"><i class="fa fa-envelope-square fa-2x"></i> Tin Nhắn </a></p><?php }?>
                     	<?php if(isset($_SESSION['user'])&& $users['username']==$_SESSION['user']['username']){?>
                        <p class="user-metadata">
                        <a  href="<?php echo HOME ?>user/thongtin">
                            <span class="btn-label"><i class="fa fa-pencil-square fa-2x"></i></span> Chỉnh sửa thông tin</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <a  href="<?php echo HOME ?>user/changepassword">
                            <span class="btn-label"><i class="fa fa-lock fa-2x"></i></span> Đổi mật khẩu</a>
                         </p>
                         <?php }?>
                        <div class="clearfix"></div>
                        
                
                        
                    </div> <!-- End user-pad -->
                    <div class="col-md-6">
                    		<div style="border-left:1px dashed #F60; padding:10px; margin-bottom:10px">Những Topic Được Tạo Bởi <b><?php echo show_username($users['username'],$users['name']);?></b>
     			<ul class="nav nav-pills">
                	<li><a href="<?php echo truyenf1_url_truyen_user($users['username'])?>"><i class="fa fa-book"></i> TRUYỆN </a></li>
                    <li><a href=""><i class="fa fa-cube"></i> MANGA </a></li>
                   <li><a href="<?php echo blog_url_user($users['username'])?>"><i class="glyphicon glyphicon-list-alt"></i> BLOG</a></li>
                   <li><a href="<?php echo video_url_user($users['username'])?>"><i class="fa fa-youtube-play"></i> VIDEO</a></li>
                </ul>
			</div>
                    </div> <!-- End col-md-5 -->
                    </div> <!-- End row -->
                </div>
               <div class="clearfix"></div>
   			

     <?php if($users['chuky']!=''){?>
     				<div class="clearfix"></div>
                      <blockquote class="hidden-xs" style="background-color:#fbfbfb;font-size:13px; padding:10px"> <?php echo BBCode::parse($users['chuky']); ?></blockquote>
                      
                        <?php }?>

	<div>
		   <div id="disqus_thread"></div>
    <script type="text/javascript">
        /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
        var disqus_shortname = 'truyencuatui'; // required: replace example with your forum shortname

        /* * * DON'T EDIT BELOW THIS LINE * * */
        (function() {
            var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
            dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
        })();
    </script>
    <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
    </div>
    <!-- End disqus-->

</div>
</div>
</div>


 